#!/bin/sh
if [ "$DISPLAY" = ":0" ]
then
kill `pidof X0`
fi

if [ "$DISPLAY" = ":0.0" ]
then
kill `pidof X0`
fi

if [ "$DISPLAY" = ":1.0" ]
then
kill `pidof X1`
fi

if [ "$DISPLAY" = ":1" ]
then
kill `pidof X1`
fi
